import Mock from 'mockjs'

Mock.mock(`${window.$mockApi}/AdminLog/GetPagedHandleLogs`, "post", () => {
    let back = {}
    back = {
        "result":{
            "totalCount":88,
            "items":[
                {"adminUserName":"user01","handleLog":"修改账号user01的密码","creationTime":"2019-09-25 09:47:03","creatorUserId":12,"id":88},
                {"adminUserName":"user02","handleLog":"查看基础数据","creationTime":"2019-09-24 19:32:44","creatorUserId":11,"id":87},
                {"adminUserName":"user03","handleLog":"添加账号","creationTime":"2019-09-24 19:32:27","creatorUserId":10,"id":86},
                {"adminUserName":"user04","handleLog":"编辑加菲猫角色","creationTime":"2019-09-22 08:36:41","creatorUserId":9,"id":85},
                {"adminUserName":"user05","handleLog":"查看留存率","creationTime":"2019-09-20 20:25:24","creatorUserId":8,"id":84},
                {"adminUserName":"user06","handleLog":"添加角色","creationTime":"2019-09-20 20:21:29","creatorUserId":7,"id":83},
                {"adminUserName":"user07","handleLog":"查看在线人数","creationTime":"2019-09-20 20:12:39","creatorUserId":6,"id":82},
                {"adminUserName":"user08","handleLog":"查看流失节点统计","creationTime":"2019-09-20 20:12:08","creatorUserId":5,"id":81},
                {"adminUserName":"user09","handleLog":"添加账号","creationTime":"2019-09-20 20:12:02","creatorUserId":4,"id":80},
                {"adminUserName":"user10","handleLog":"修改亨特尔故事角色","creationTime":"2019-09-20 20:10:26","creatorUserId":3,"id":79}
            ]
        },
        "targetUrl":null,
        "success":true,
        "error":null
    }
    return back
})

export default Mock
